﻿using System;
using Lyh.Facade;
using Lyh.Facade.Impl;
using Lyh.Models;
using Lyh.Repository;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Lyh.UnitTest
{
    [TestClass]
    public class MyUnitTest
    {
        [TestMethod]
        public void MyTestMethod()
        {
            IUserRepository userRepository = null;
            IUserFacade userFacade = new UserFacade(userRepository);
            User user = userFacade.Get("");
            //Assert.IsNotNull(user);
            user = userFacade.Load("7771F592-6BB0-473E-A2CB-788BA8A6477B");
            Assert.IsNotNull(user);
        }
    }
}
